<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}</title>
<meta name="keywords" content="{$SEO['keyword']}">
<meta name="description" content="{$SEO['description']}">
<link href="{THEME_STYLE_PATH}style/css/default_new.css" type="text/css" rel="stylesheet" />
<script src="{THEME_STYLE_PATH}style/js/jquery.min.js"></script>
<script src="{THEME_STYLE_PATH}style/js/core.js"></script>
<link href="{THEME_STYLE_PATH}style/css/percenter.css" type="text/css" rel="stylesheet" />
<!--[if IE 6]>
<script src="/js/DD_belatedPNG.js"></script>
<script>
  DD_belatedPNG.fix('*');
</script>
<![endif]-->
<!--[if IE 6]>
<style type="text/css">
    html{overflow:hidden;}
    body{height:100%;overflow:auto;}
</style>
<![endif]-->
</head>
<script type="text/javascript">
function detRecord(tdID)
{
	juxiangyou.core.func.hidePopupDiv($('#'+popup._id));
	$.ajax({
		type: "POST",
		url: "{U('Member/Captcha/detRecord')}",
		dataType: "json",
		data : {"tdID":tdID},
		success: function(strJson){
			var data = strJson.rs;
			if(data ==1){
				popup.prompt("删除成功");
				location.href= '<?php echo $_GET['__URL__']?>';
			}else{
				popup.prompt("删除失败，请刷新页面重新尝试！");
			}
		}
	});
}
</script>

<body>
		
{include template('header','common')}
	<!--主体-->
	<div id="Mainbox">
<!--插入侧边栏-->
		{include template('sidebar_login','common')}
		<!--插入侧边栏-->
		{include template('top_advance','common')}
		
		<!-- 左侧 -->
		{include template('member_left','common')}
		<!--右侧-->
		<div class="percenter_right">
			<div class="aboutper_acc">

				<p class="a1" style="margin-bottom:15px;">我的打码记录<span class="a1">您的每一次验证码输入，都促进了互联网智能程序事业的进步与发展，感谢您的参与！
				<a href="{U('document/Dama/tool')}" class="re1" target="_blank">我要学打码&gt;&gt;</a></span></p>
				<div class="tyopt">
				<a href="{U('Member/Captcha/dama_info')}" {if $infos == 1}class="on"{/if}>我正在进行的打码</a>&nbsp;&nbsp;
				<a href="{U('Member/Captcha/dama_no')}" {if $infos == 2}class="on"{/if}>还未开始的打码（<span>{$count}</span>）</a></div>
			<table width="654" border="0" cellpadding="0" cellspacing="1" bgcolor="#dedede" class="dmty_table">
				  <tbody>
			<?php if($infos == 1){ ?>
				  <tr>
					<td bgcolor="#ffffff" class="a1 title"><a href="#">任务名称</a></td>
					<td bgcolor="#ffffff" class="a2 title">状态</td>
					<td bgcolor="#ffffff" class="a3 title">工号</td>
					<td bgcolor="#ffffff" class="a4 title">密码</td>
					<td bgcolor="#ffffff" class="a5 title">码价</td>
					<td bgcolor="#ffffff" class="a6 title">总计积分</td>
					<td bgcolor="#ffffff" class="a7 title">总{type_change()}币收入</td>
					<td bgcolor="#ffffff" class="a8 title">最近更新</td>
					<td bgcolor="#ffffff" class="a9 title">领取工资</td>
					<td bgcolor="#ffffff" class="a10 title">操作</td>
				  </tr>
			
				<?php foreach($account as $v){  ?>
				
			    <tr id="list_97">
					<td bgcolor="#ffffff" class="a1"><a href="{U('document/Index/show',array('catid'=>1,'id'=>$v[aid]))}" class="g46" target="_blank"><?php echo $v['title'];?></a></td>
					<td bgcolor="#ffffff" class="a2">进行中</td>
					<td bgcolor="#ffffff" class="a3"><?php echo $v['name'];?></td>
					<td bgcolor="#ffffff" class="a4">123456</td>
					<td bgcolor="#ffffff" class="a5"><span class="ofe"><strong><?php echo $v['price']; ?></strong></span><img src="{THEME_STYLE_PATH}style/images/ub.gif"></td>
					<td bgcolor="#ffffff" class="a6"><?php echo $v['yard_num']; ?></td>
					<td bgcolor="#ffffff" class="a7"><span class="ofe"><strong><?php echo $v['yard_u_coin']; ?></strong></span><img src="{THEME_STYLE_PATH}style/images/ub.gif"></td>
					<td bgcolor="#ffffff" class="a8"><?php echo date('Y-m-d H:i:s',$v['updatetime']);?></td>
					<td bgcolor="#ffffff" class="a9"><a href="{U('document/Index/show',array('catid'=>1,'id'=>$v[aid]))}" class="re1" target="_blank">领取工资</a></td>
					<td bgcolor="#ffffff" class="a10"><a href="javascript:void(0);" onclick="popup.popDeleteSure({$v['id']})" class="b40link">删除</a></td>
				</tr>
				<?php } ?>
				<?php } ?>
				<?php if($infos == 2){ ?>
					<tr>
						<td bgcolor="#ffffff" class="a1 title"><a href="#">任务名称</a></td>
						<td bgcolor="#ffffff" class="a2 title">每码价格</td>
						<td bgcolor="#ffffff" class="a3 title">是否换IP</td>
						<td bgcolor="#ffffff" class="a4 title">结算周期</td>
						<td bgcolor="#ffffff" class="a5 title">任务资源</td>
						<td bgcolor="#ffffff" class="a6 title">更新时间</td>
						<td bgcolor="#ffffff" class="a7 title">参与任务</td>
					  </tr>
					  <?php foreach ($info as $e => $p) { ?>				  
	  				  <tr>
						<td bgcolor="#ffffff" class="a1"><a href="{U('document/Index/show',array('catid'=>1,'id'=>$p[id]))}" class="g46" target="_blank">{$p['title']}</a></td>
						<td bgcolor="#ffffff" class="a2"><span class="ofe"><strong>{$p['price']}</strong></span><img src="{THEME_STYLE_PATH}style/images/ub.gif"></td>
						<td bgcolor="#ffffff" class="a3">{if $p['is_changeip'] = 1}是{else}否{/if}</td>
						<td bgcolor="#ffffff" class="a4">1天</td>
						<td bgcolor="#ffffff" class="a5">充足</td>
						<td bgcolor="#ffffff" class="a6">{date('Y-m-d H:i:s',$p['updatetime'])}</td>
						<td bgcolor="#ffffff" class="a7"><a href="{U('document/Index/show',array('catid'=>1,'id'=>$p[id]))}" target="_blank" style="color:#468418;">参与任务</a></td>
					  </tr>
					  <?php } ?>

				<?php } ?>
				  	</tbody>
				  </table>

 
				 <!--翻页模板-->
				<div class="pageup">
						{$pages}					
				</div>
				<!--翻页模板-->
			</div>	
					
		</div>
		<!--右侧-->
		<div class="clear"></div>
	</div>
	<!--主体-->
	<!--尾部-->
	{include template('footer','common')}

	<!--尾部-->

</body>
</html>
